package cn.iocoder.yudao.module.system.controller.admin.dept.vo.jd;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Schema(description = "生产反查接口调用示例（京东调代理商）--请求参数")
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class ProductionCheckReqVO {
//    {
//        "jdOrderNo": 10001,
//            "sign": "cca110f77ea9c6e87fc01aad0f0d62f4",
//            "signType": "MD5",
//            "timestamp": "20210207170426"
//    }
    @Schema(description = "京东订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "京东订单号不能为空")
    private Long jdOrderNo;
    @Schema(description = "签名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "签名不能为空")
    private String sign;
    @Schema(description = "签名方式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "签名方式不能为空")
    private String signType;
    @Schema(description = "访问时间戳编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "访问时间戳不能为空")
    private String timestamp;
}